package com.course.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

@Entity
@IdClass(DayTopNPK.class)
@Table(name = "day_video_access_topn_stat")
@Data
public class DayVideoAccessStat {
    @Id
    private String day;
    @Id
    private Long cms_id;

    private Long times;
}
